/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author SONY
 */
public class module4 extends javax.swing.JFrame {

    /**
     * Creates new form module4
     */
    public module4() {
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        lb4_1 = new javax.swing.JLabel();
        lb4_2 = new javax.swing.JLabel();
        lb4_3 = new javax.swing.JLabel();
        lb4_5 = new javax.swing.JLabel();
        bt4_nopbaithi = new javax.swing.JButton();
        lb4_tenbaikiemtra = new javax.swing.JLabel();
        lb4_tgianthi = new javax.swing.JLabel();
        lb4_tgianconlai = new javax.swing.JLabel();
        lb4_username = new javax.swing.JLabel();
        lb4_background = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setAutoRequestFocus(false);
        setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
        setName("frame4"); // NOI18N
        getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        lb4_1.setFont(new java.awt.Font("Times New Roman", 0, 18)); // NOI18N
        lb4_1.setText("Tên bài kiểm tra : ");
        lb4_1.setName(""); // NOI18N
        getContentPane().add(lb4_1, new org.netbeans.lib.awtextra.AbsoluteConstraints(190, 30, 140, 20));

        lb4_2.setFont(new java.awt.Font("Times New Roman", 0, 18)); // NOI18N
        lb4_2.setText("Thời gian thi : ");
        getContentPane().add(lb4_2, new org.netbeans.lib.awtextra.AbsoluteConstraints(190, 60, 110, 20));

        lb4_3.setFont(new java.awt.Font("Times New Roman", 0, 18)); // NOI18N
        lb4_3.setText("Thời gian còn lại : ");
        getContentPane().add(lb4_3, new org.netbeans.lib.awtextra.AbsoluteConstraints(190, 90, 140, 20));

        lb4_5.setFont(new java.awt.Font("Times New Roman", 0, 18)); // NOI18N
        lb4_5.setText("Username :");
        getContentPane().add(lb4_5, new org.netbeans.lib.awtextra.AbsoluteConstraints(510, 30, 90, 20));

        bt4_nopbaithi.setFont(new java.awt.Font("Times New Roman", 0, 18)); // NOI18N
        bt4_nopbaithi.setText("Nộp bài thi");
        bt4_nopbaithi.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                bt4_nopbaithiActionPerformed(evt);
            }
        });
        getContentPane().add(bt4_nopbaithi, new org.netbeans.lib.awtextra.AbsoluteConstraints(610, 100, -1, -1));
        getContentPane().add(lb4_tenbaikiemtra, new org.netbeans.lib.awtextra.AbsoluteConstraints(330, 30, 160, 20));
        getContentPane().add(lb4_tgianthi, new org.netbeans.lib.awtextra.AbsoluteConstraints(330, 60, 160, 20));
        getContentPane().add(lb4_tgianconlai, new org.netbeans.lib.awtextra.AbsoluteConstraints(330, 90, 160, 20));
        getContentPane().add(lb4_username, new org.netbeans.lib.awtextra.AbsoluteConstraints(600, 30, 160, 20));

        lb4_background.setIcon(new javax.swing.ImageIcon(getClass().getResource("/slide4-background.jpg"))); // NOI18N
        getContentPane().add(lb4_background, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 800, 600));

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void bt4_nopbaithiActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_bt4_nopbaithiActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_bt4_nopbaithiActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(module4.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(module4.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(module4.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(module4.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new module4().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton bt4_nopbaithi;
    private javax.swing.JLabel lb4_1;
    private javax.swing.JLabel lb4_2;
    private javax.swing.JLabel lb4_3;
    private javax.swing.JLabel lb4_5;
    private javax.swing.JLabel lb4_background;
    private javax.swing.JLabel lb4_tenbaikiemtra;
    private javax.swing.JLabel lb4_tgianconlai;
    private javax.swing.JLabel lb4_tgianthi;
    private javax.swing.JLabel lb4_username;
    // End of variables declaration//GEN-END:variables
}
